<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>文本间距</title>
    <style>
      .atguigu2 {
        /* 字母间距  可以使用负值*/
        letter-spacing: 20px;
      }

      .atguigu3 {
        /* 单词间距 通过空格来识别单词*/
        word-spacing: 20px;
      }
    </style>
  </head>
  <body>
    <div>Lorem sectetur adipisicing elit.?尚硅谷1</div>
    <div class="atguigu2">Lorem sectetur adipisicing elit.?尚硅谷2</div>
    <div class="atguigu3">Lorem sectetur adipisicing elit.?尚硅谷3</div>
  </body>
</html>
